package com.frxuexi.lib_base

sealed class UiState {
    data class onSuccess<out T>(val data:T,var type:RequestType=RequestType.DEFAULT):UiState()
    data class onError(val msg:String):UiState()
    data object onLoading:UiState()
}